//package com.tanhua.app.exception;
//
//import org.springframework.http.ResponseEntity;
//import org.springframework.web.bind.annotation.ControllerAdvice;
//import org.springframework.web.bind.annotation.ExceptionHandler;
//
//@ControllerAdvice
//public class GlobalExceptionAdvice {
//    @ExceptionHandler(Exception.class)
//    public ResponseEntity handlerException(Exception ex) {
//        System.out.println(ex.getMessage());
//        return ResponseEntity.status(500).body("系统发生了异常 请稍后处理");
//    }
//}
